package com.controller;
import javax.servlet.http.HttpSession;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
@Controller
@RequestMapping("/Exit")
public class ExitController {
	/**
	 * 退出系统
	 * @param session
	 * @return
	 */
	@RequestMapping("/ExitSystem")
	public String exit(HttpSession session){
		session.invalidate();
		System.out.println("退出");
		return "login";
	}
}
